package com.ktgj.customer.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 保险类型
 * 对象 insurance_type
 *
 * @author ruoyi
 * @date 2021-07-27
 */
public class InsuranceType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 保险类型ID
     */
    private Long insTypeId;

    /**
     * 保险类型名称
     */
    @Excel(name = "保险类型名称")
    private String insTypeName;

    /**
     * 状态;0-未知；1-使用；-1 -不使用
     */
    @Excel(name = "状态;0-未知；1-使用；-1 -不使用")
    private Long isuse;

    /**
     * 保险公司
     */
    @Excel(name = "保险公司")
    private Long companyId;

    /**
     * 是否随卡;0-未知；1-是；2-酒店；3-飞机票；4-火车票；5--随票
     */
    @Excel(name = "是否随卡;0-未知；1-是；2-酒店；3-飞机票；4-火车票；5--随票")
    private Long isattch;

    /**
     * 保险规则
     */
    @Excel(name = "保险规则")
    private String insurancerulen;

    /**
     * 保险说明
     */
    @Excel(name = "保险说明")
    private String insuranceremark;

    /**
     * 保险规则（XML文本类型）
     */
    @Excel(name = "保险规则", readConverterExp = "X=ML文本类型")
    private String insurancerule;

    /**
     * 保费（单价，单位：元）
     */
    @Excel(name = "保费", readConverterExp = "单=价，单位：元")
    private BigDecimal price;

    /**
     * 开保类型 (随卡 card  随票 ticket)
     */
    @Excel(name = "开保类型 (随卡 card  随票 ticket)")
    private String insuranceOpentype;

    /**
     * 安心产品编码
     */
    @Excel(name = "安心产品编码")
    private String axProductcode;

    /**
     * 安心渠道编码
     */
    @Excel(name = "安心渠道编码")
    private String axComid;

    /**
     * 安心保险类型
     */
    @Excel(name = "安心保险类型")
    private String axTypeno;

    /**
     * $column.columnComment
     */
    @Excel(name = "安心保险类型")
    private String dxSkuid;

    /**
     * $column.columnComment
     */
    @Excel(name = "安心保险类型")
    private String dxGoodsid;

    /**
     * 保险类型枚举
     */
    @Excel(name = "保险类型枚举")
    private String insTypeCode;

    /**
     * 产品代码/编号
     */
    @Excel(name = "产品代码/编号")
    private String product;

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getInsTypeCode() {
        return insTypeCode;
    }

    public void setInsTypeCode(String insTypeCode) {
        this.insTypeCode = insTypeCode;
    }

    public void setInsTypeId(Long insTypeId) {
        this.insTypeId = insTypeId;
    }

    public Long getInsTypeId() {
        return insTypeId;
    }

    public void setInsTypeName(String insTypeName) {
        this.insTypeName = insTypeName;
    }

    public String getInsTypeName() {
        return insTypeName;
    }

    public void setIsuse(Long isuse) {
        this.isuse = isuse;
    }

    public Long getIsuse() {
        return isuse;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setIsattch(Long isattch) {
        this.isattch = isattch;
    }

    public Long getIsattch() {
        return isattch;
    }

    public void setInsurancerulen(String insurancerulen) {
        this.insurancerulen = insurancerulen;
    }

    public String getInsurancerulen() {
        return insurancerulen;
    }

    public void setInsuranceremark(String insuranceremark) {
        this.insuranceremark = insuranceremark;
    }

    public String getInsuranceremark() {
        return insuranceremark;
    }

    public void setInsurancerule(String insurancerule) {
        this.insurancerule = insurancerule;
    }

    public String getInsurancerule() {
        return insurancerule;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setInsuranceOpentype(String insuranceOpentype) {
        this.insuranceOpentype = insuranceOpentype;
    }

    public String getInsuranceOpentype() {
        return insuranceOpentype;
    }

    public void setAxProductcode(String axProductcode) {
        this.axProductcode = axProductcode;
    }

    public String getAxProductcode() {
        return axProductcode;
    }

    public void setAxComid(String axComid) {
        this.axComid = axComid;
    }

    public String getAxComid() {
        return axComid;
    }

    public void setAxTypeno(String axTypeno) {
        this.axTypeno = axTypeno;
    }

    public String getAxTypeno() {
        return axTypeno;
    }

    public void setDxSkuid(String dxSkuid) {
        this.dxSkuid = dxSkuid;
    }

    public String getDxSkuid() {
        return dxSkuid;
    }

    public void setDxGoodsid(String dxGoodsid) {
        this.dxGoodsid = dxGoodsid;
    }

    public String getDxGoodsid() {
        return dxGoodsid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("insTypeId", getInsTypeId())
                .append("insTypeName", getInsTypeName())
                .append("isuse", getIsuse())
                .append("companyId", getCompanyId())
                .append("isattch", getIsattch())
                .append("insurancerulen", getInsurancerulen())
                .append("insuranceremark", getInsuranceremark())
                .append("insurancerule", getInsurancerule())
                .append("price", getPrice())
                .append("insuranceOpentype", getInsuranceOpentype())
                .append("axProductcode", getAxProductcode())
                .append("axComid", getAxComid())
                .append("axTypeno", getAxTypeno())
                .append("dxSkuid", getDxSkuid())
                .append("dxGoodsid", getDxGoodsid())
                .toString();
    }
}
